package com.survey.dao.mapper;

import com.survey.pojo.data.QuestiontypeDO;
import com.survey.pojo.vo.QuestiontypeVO;
import org.springframework.stereotype.Repository;

import java.util.List;

/** 
 * <br/>
 * Created by jj on 2018/08/04
 */
@Repository
public interface QuestiontypeMapper {

    Integer addQuestiontype(QuestiontypeVO questiontypeVO);

    Integer updateQuestiontype(QuestiontypeVO questiontypeVO);

    QuestiontypeDO findDetailQuestiontype(QuestiontypeVO questiontypeVO);

    List<QuestiontypeDO> listQuestiontype(QuestiontypeVO questiontypeVO);

    List<QuestiontypeDO> listQuestiontypePage(QuestiontypeVO questiontypeVO);

    Integer countQuestiontype(QuestiontypeVO questiontypeVO);

    Integer deleteQuestiontype(QuestiontypeVO questiontypeVO);

}
